<template>
  <div class="app">
    <el-row>
      <el-col :span="24" ><div class="grid-content bg-purple-dark" >
        阿巴阿巴
      </div></el-col>
    </el-row>
    <el-container>
      <el-aside width="200px">
        <my-header></my-header>
      </el-aside>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>


<!--    <el-header>elementUI</el-header>-->
<!--    <el-container>-->
<!--      <el-aside width="200px">-->
<!--        <router-link to="/output">支出</router-link><br>-->
<!--        <router-link to="/insertOutput">新增一条记录</router-link>-->
<!--      </el-aside>-->
<!--      <el-container>-->
<!--        <el-main><router-view/></el-main>-->
<!--        <el-footer>....</el-footer>-->
<!--      </el-container>-->
<!--    </el-container>-->


<!--    <el-container>-->
<!--      <el-header>-->
<!--        <nav>-->

<!--        </nav>-->

<!--      </el-header>-->
<!--      <el-aside width="200px">-->
<!--        -->
<!--      </el-aside>-->
<!--      <el-main><router-view/></el-main>-->
<!--    </el-container>-->
  </div>

</template>
<script>
import Header from "./views/Header.vue";

export default {
  name:'App',
  components:{
    'my-header':Header
  }
}
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  padding: 30px;
  grid-column-end: auto;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}

.el-row {
  margin-bottom: 20px;
  &:last-child {
   margin-bottom: 0;
 }
}
.el-col {
  border-radius: 4px;
}
.bg-purple-dark {
  background: #99a9bf;
}
.grid-content {
  border-radius: 4px;
  min-height: 50px;
  text-align:center;
  font-size: larger;
  color: white;
}


</style>
